package com.ysstech.reportworld.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ysstech.reportworld.entity.DatabaseConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author lishuangliang
 * @since 2022-12-28
 */
@Component
public interface DatabaseConfigMapper extends BaseMapper<DatabaseConfig> {

    /**
     * 查询一个基础数据对应的配置信息
     *
     * @param databaseConfig
     * @return
     */
    public List<DatabaseConfig>  selectDatabaseConfig(@Param("databaseConfig") DatabaseConfig databaseConfig);

}
